package com.ruoyi.ucar.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.ucar.boreq.CarouselImageDetailQueryBoReq;
import com.ruoyi.ucar.boreq.CarouselImageListQueryBoReq;
import com.ruoyi.ucar.boresp.CarouselImageDetailQueryBoResp;
import com.ruoyi.ucar.boresp.CarouselImageListQueryBoResp;
import com.ruoyi.ucar.boresp.CarouselImageMobileListBoResp;
import com.ruoyi.ucar.domain.TCarouselImage;
import com.ruoyi.ucar.voreq.CarouselImageAddVoReq;
import com.ruoyi.ucar.voreq.CarouselImageUpdateVoReq;
import java.io.IOException;
import java.util.List;

/**
 * 轮播图主Service接口
 * 
 * @author sungangbin
 * @date 2025-05-13
 */
public interface ITCarouselImageService extends IService<TCarouselImage>
{
    /**
     * 查询轮播图主
     * 
     * @param id 轮播图主主键
     * @return 轮播图主
     */
    public TCarouselImage selectTCarouselImageById(Long id);


    public TCarouselImage selectTCarouselImageByUuid(String carouselImageUuid);

    /**
     * 查询轮播图主列表
     * 
     * @param tCarouselImage 轮播图主
     * @return 轮播图主集合
     */
    public List<TCarouselImage> selectTCarouselImageList(TCarouselImage tCarouselImage);


    /**
     * 批量删除轮播图主
     * 
     * @param ids 需要删除的轮播图主主键集合
     * @return 结果
     */
    public int deleteTCarouselImageByIds(Long[] ids);

    /**
     * 删除轮播图主信息
     * 
     * @param carouselImageUuid 轮播图主主键Uuid
     * @return 结果
     */
    public int deleteTCarouselImageById(String carouselImageUuid,Long id);


    public String saveCarouselImage(CarouselImageAddVoReq carouselImageVoReq) throws IOException;


    public int updateCarouselImage(CarouselImageUpdateVoReq updateCarouselImageVoReq) throws IOException;


    public int  updateStatus(String carouselImageUuid,Long Status);

    public int batchDelete(String[] carouselImageUuids,Long[]  ids);

    public CarouselImageListQueryBoResp queryCarouselImageByCond(CarouselImageListQueryBoReq carouselImageListQueryBoReq) ;


    public CarouselImageMobileListBoResp mobileList();

    public CarouselImageDetailQueryBoResp carouselImageDetailQuery(CarouselImageDetailQueryBoReq carouselImageDetailQueryBoReq);
}
